package com.beyond.trace.domain.knowledgebase;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 * @ClassName: KnowledgeExtend
 * @author: z越
 * @date: 2024/2/20  9:28
 * @description
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
@JsonSubTypes(value = {
        @JsonSubTypes.Type(value = CropKnowledge.class, name = "crop"),
        @JsonSubTypes.Type(value = DiseasePestKnowledge.class, name = "pest"),
        @JsonSubTypes.Type(value = DiseasePestKnowledge.class, name = "disease")
})
public interface KnowledgeExtend {
}
